package com.ggggeeennn.question.domain;

import com.ggggeeennn.common.annotation.Excel;
import com.ggggeeennn.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库管理对象 judge_question
 * 
 * @author ggggeeennn
 * @date 2025-06-28
 */
public class Question extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试题编号 */
    @Excel(name = "试题编号")
    private Long questionId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String course;

    /** 试题内容 */
    @Excel(name = "试题内容")
    private String question;

    /** 正确答案 */
    @Excel(name = "正确答案")
    private String answer;

    /** 题目解析 */
    private String analysis;

    /** 分数 */
    @Excel(name = "分数")
    private Long score;

    /** 难度等级 */
    @Excel(name = "难度等级")
    private String level;

    /** 课程章节 */
    @Excel(name = "课程章节")
    private String section;

    @Excel(name = "试题类型")
    private String questionType;

    private String aOption;
    private String bOption;
    private String cOption;
    private String dOption;

    public String getaOption() {
        return aOption;
    }

    public void setaOption(String aOption) {
        this.aOption = aOption;
    }

    public String getbOption() {
        return bOption;
    }

    public void setbOption(String bOption) {
        this.bOption = bOption;
    }

    public String getcOption() {
        return cOption;
    }

    public void setcOption(String cOption) {
        this.cOption = cOption;
    }

    public String getdOption() {
        return dOption;
    }

    public void setdOption(String dOption) {
        this.dOption = dOption;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public void setQuestionId(Long questionId)
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }

    public void setCourse(String course) 
    {
        this.course = course;
    }

    public String getCourse() 
    {
        return course;
    }

    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setAnalysis(String analysis) 
    {
        this.analysis = analysis;
    }

    public String getAnalysis() 
    {
        return analysis;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    public void setSection(String section) 
    {
        this.section = section;
    }

    public String getSection() 
    {
        return section;
    }




    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionId", getQuestionId())
            .append("course", getCourse())
            .append("question", getQuestion())
            .append("answer", getAnswer())
            .append("analysis", getAnalysis())
            .append("score", getScore())
            .append("level", getLevel())
            .append("section", getSection())
            .toString();
    }
}
